import servers from '@/utils/servers'
/**
 * 获取用户自己的信息
 */
export const getUserProfile = () => {
  return servers({
    method: 'GET',
    url: '/v1_0/user'
  })
}
// 修改用户资料
export const uodateUserProfile = (data) => {
  return servers({
    method: 'PATCH',
    url: '/v1_0/user/profile',
    data
  })
}
